using System.Collections.Generic;
using System.Text;
using System;
using NHibernate.Collection;
using NHibernate.Mapping;
using Iesi.Collections;

namespace WirtualneNauczanie 
{
class Quizresults 
{
int quizresultid;
int coursesectionid;
int score;
int totalquestions;
DateTime datetaken;
Guid studentid;

public Quizresults()
{

}

public virtual int Quizresultid
{
get { return quizresultid; }
set { quizresultid= value; }
}

public virtual int Coursesectionid
{
get { return coursesectionid; }
set { coursesectionid= value; }
}

public virtual int Score
{
get { return score; }
set { score= value; }
}

public virtual int Totalquestions
{
get { return totalquestions; }
set { totalquestions= value; }
}

public virtual DateTime Datetaken
{
get { return datetaken; }
set { datetaken= value; }
}

public virtual Guid Studentid
{
get { return studentid; }
set { studentid= value; }
}

public override string ToString()
{
String s = "";
if(quizresultid!=null)
	s+= "quizresultid : "+ quizresultid.ToString()+"\n";
else
	s+= "quizresultid : null\n";
if(coursesectionid!=null)
	s+= "coursesectionid : "+ coursesectionid.ToString()+"\n";
else
	s+= "coursesectionid : null\n";
if(score!=null)
	s+= "score : "+ score.ToString()+"\n";
else
	s+= "score : null\n";
if(totalquestions!=null)
	s+= "totalquestions : "+ totalquestions.ToString()+"\n";
else
	s+= "totalquestions : null\n";
if(datetaken!=null)
	s+= "datetaken : "+ datetaken.ToString()+"\n";
else
	s+= "datetaken : null\n";
if(studentid!=null)
	s+= "studentid : "+ studentid.ToString()+"\n";
else
	s+= "studentid : null\n";
return s;
}


}
}
